/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



import com.sun.j3d.utils.universe.SimpleUniverse;

import com.sun.j3d.utils.geometry.ColorCube;

import javax.media.j3d.BranchGroup;


import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

/**
 *
 * @author sat
 */
public class J3dtest {
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.print(" ... !!\n");
        new J3dtest();
        
    }
    
    
    
    public J3dtest()
    
    {
        
        SimpleUniverse universe = new SimpleUniverse();
        
        BranchGroup group = new BranchGroup();
        
        group.addChild(new ColorCube(0.3));
        
        universe.getViewingPlatform().setNominalViewingTransform();
        
        universe.addBranchGraph(group);
    
    }
    

}
